const state = {
    routerpush:"", //储存跳转的路由id
}
const getters = {
    routerpushs(state){ //取储存跳转的路由id
        return state.routerpush
    },
}
const mutations = {
    ROUTERALTER(state,val){ //设置跳转的路由id
        state.routerpush = val
    },
}
export default {
    namespaced: true,
    state,
    mutations,
    // actions,
    getters
}